﻿@model dynamic
@{
    ResFile = "cms_Users";
}
<fieldset class="b-form">
@using (Html.BeginForm("usergroupannotationsettings", "cmsusergroup"))
{
    <ol class="b-form__rows ul-reset g-clear">
        <li class="b-form__row g-clear">
            <div id="colorpicker"></div>
        </li>
        <li class="b-form__row g-clear">
            <input type="text" id="color" name="Color" value="@Model.Color" />
            <input type="hidden" name="UserGroupId" value="@Model.UserGroupId" />
        </li>
    </ol>
    <input class="b-button" id="btnSave" name="btnSave" type="submit" value="@_("Save")" />
}
</fieldset>

<script type="text/javascript">
// <![CDATA[ 
    $(document).ready(function () {
        $('#colorpicker').farbtastic('#color');
    });
// ]]>
</script>